package com.itqf.proxy.static_proxy;

/**
 * @Description:
 * @Company: 千锋互联
 * @Author: 李丽婷
 * @Date: 2020/9/28
 * @Time: 下午3:59
 */
public class StaticTest {

    public  static  void  main(String[]args){
        //1.房东对象   被代理类
        HouseMaster houseMaster = new HouseMaster();
        //2.中介对象  代理类
        ProxyRentHouse zhongjie = new ProxyRentHouse(houseMaster);

        zhongjie.lookHouse();
        zhongjie.writeHeTong();
        zhongjie.receiveMoney();

        zhongjie.WeiXiu();


    }


}
